package org.jeecg.modules.villageCadreAssist.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.villageCadreAssist.entity.VcaFarmlandFee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: vca_farmland_fee
 * @Author: jeecg-boot
 * @Date:   2022-04-14
 * @Version: V1.0
 */
public interface VcaFarmlandFeeMapper extends BaseMapper<VcaFarmlandFee> {

    List<VcaFarmlandFee> getUpdateList(@Param("type")Integer type, @Param("farmlandId") Integer farmlandId, @Param("year") Integer year, @Param("orgCode") String orgCode);

    void saveBatch(@Param("feeList")List<VcaFarmlandFee> feeList);

    IPage<VcaFarmlandFee> pageList(@Param("page")Page<VcaFarmlandFee> page, @Param(Constants.WRAPPER)QueryWrapper<VcaFarmlandFee> queryWrapper, @Param("orgCode")String orgCode);
}
